﻿using Admin2024.Application.Contracts.User.Dto;
using Admin2024.Domain.Entity.System;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Application.Contracts.Helper
{
    public class UserAutoMapperProfile : Profile
    {
        public UserAutoMapperProfile()
        {
            CreateMap<AppUser, RegSucceedDto>();
            CreateMap<RegSucceedDto, AppUser>();
            CreateMap<AppUser, AppUserDto>();

            CreateMap<AppUser, AppUserDto>();
            CreateMap<UserUpdateDto, AppUserDto>();
            CreateMap<UserUpdateDto, AppUser>();
            CreateMap<AppUser, UserInfoDto>();
        }
    }
}
